import http from 'require.js';
const indexHttp = ()=>{
	new Promise((resolve,reject)=>{
		http._post('index.do').then(res=>{
			if(res.data.issuccess==1){
				// let {data} ==res.data;
				resolve(res)
			}else{
				reject(res)
			}
		})
	})
}

export default {
	indexHttp
}
